<?php

	include(ROOTPATH .'include'. DS .'protect.php');
	include(ROOTPATH .'include'. DS .'checkUserLogin.php');
	$id		  = (int)getQuery('id');
	if( 0 == $id ) $id = $user -> id();
	$userInfo = $dbs -> select('SELECT * FROM `'. DB_PRE .'user` WHERE `id` = '. $id  );
	$userInfo = $userInfo[0];
	
	
?>